package com.pro.mapper;

import com.pro.pojo.JsActicleCategroy;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * ClassName:JsActicleCategroyMapper
 * Package:com.pro.mapper
 * Description: 查看微圈分类的树
 *
 * @Date:2021/11/28 下午 6:29
 * @Author: WYH
 */
public interface JsActicleCategroyMapper {

    /**
     * @author WYH
     * @date 2021/11/28 下午 8:22
     * @content : 查询树
     */
    List<JsActicleCategroy> getAllzTree();

    /**
     * @author WYH
     * @date 2021/11/29 下午 7:15
     * @content : 树添加节点
     */
    Boolean addActicleCategroy(JsActicleCategroy jsActicleCategroy);

    /**
     * @author WYH
     * @date 2021/11/29 下午 7:15
     * @content :  删除节点
     */
    Boolean delActicleCategroy(@Param("acticleCategroyId") Integer acticleCategroyId);

    /**
     * @author WYH
     * @date 2021/11/29 下午 7:31
     * @content :   修改节点
     */
    Boolean updateActicleCategroy(JsActicleCategroy jsActicleCategroy);

}
